﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dreamz
{
    class Rum12
    {
        static public void Apply()
        {
           //Adds methods invoked through events, like looking at the clock.
            GameEngine.S.World[2, 4].Items["clock"].OnLook += new EventHandler(LookClock);
        }

        //"Look clock" in game shows the actual time in real life (assuming your computers time is correct).
        static void LookClock()
        {
            DateTime time = DateTime.Now;
            string format = "H:mm:ss";
            UI.Console.Write("The time is " + time.ToString(format) + ".\n");
        }
    }
}